import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/css/reset.css'
import { Spinner } from 'mint-ui';
import VueAwesomeSwiper from 'vue-awesome-swiper'
 
// require styles
import 'swiper/dist/css/swiper.css'
 
Vue.use(VueAwesomeSwiper, /* { default global options } */)

import axios from 'axios'

import qs from'qs'
//jsonp
import  VueJsonp  from  'vue-jsonp'

Vue.use(VueJsonp)

import jsonp from 'jsonp'
let myrequest = axios.create({
	baseURL:'http://maoyan.bluej.cn'
//  baseURL:'http://m.maoyan.con'
})

// 将axios方法挂载在vue的原型上，后续所有vue实例都可以直接  this.axios使用
Vue.prototype.axios=myrequest;

 import Mint from 'mint-ui'; 
 Vue.use(Mint);
 import 'mint-ui/lib/style.css'
Vue.config.productionTip = true

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
